You will create a subclass of the Image class with three different image effect functions and use each effect on a different part of the image.

For example, you could turn part of the image into grayscale, keep only the green values, swap the red and green values, negate the image, etc. For example, the image shown below has one image effect on the first third of the image (negate), one on the second third (clear blue), and one on the final third (reduce red). You will also need to create an init method and a main function that creates an object of your class , calls the three functions on that object, and displays the image. Be sure to also call the main function. You can use any of the images shown in chapter 18 like arch.jpg or beach.jpg.

Self-assessment and peer review criteria are listed below. For a more detailed version, please download and view the attached rubric.

  1. Met the requirements for the subclass, different effects, and different parts of the image.

  2. Has three image effect functions.

What to submit?

Submit your code in a .pdf or .docx file using the Gallery Tool. The Gallery Tool launches from a course item that is labeled as an “LTI Item.” (You'll see it in the next section.) In addition, you may submit an image of your output as a .jpg or .png file.

Accessing the Gallery

When you click “LTI Item” in Coursera, the course item screen will open. To access the Gallery, you must first agree to the acceptable use policy. You can then launch the tool as a “Learner” by clicking on the blue “Open Tool” button. The Gallery will open in a new tab in your internet browser.

Note: The first time you launch the Gallery Tool, you will be asked to set up your Gallery profile by providing some basic information and selecting your sharing settings. After completing your profile, you will be redirected to the main screen of the Gallery.

Submitting your file to the Gallery

On the left side of the screen, click “ Upload Submission ” and fill out the required information:

Navigating the Gallery

Scroll through the submissions to see the various examples that your peers have shared. You can also sort the examples by using the available filters near the top right-hand corner of the Gallery. As you explore the submissions, we encourage you to leave comments and feedback on the submissions you view.

To leave comments on submissions you browse, click on the tile of the submission. After reviewing the details of the submission, scroll down to the “Comments” text field. Type your comments, general feedback, and thoughts on the submitter’s questions in this field. When finished, click on the blue “Post comment” button at the bottom left-hand corner of the page to share your comments.